﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsHoaDonBanLe" targetNamespace="http://tempuri.org/DsHoaDonBanLe.xsd" xmlns:mstns="http://tempuri.org/DsHoaDonBanLe.xsd" xmlns="http://tempuri.org/DsHoaDonBanLe.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="2" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SieuThiSachConnectionString2" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SieuThiSachConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.SieuThiSachConnectionString2" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SieuThiSach1ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SieuThiSach1ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.SieuThiSach1ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="E_SmarketConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="E_SmarketConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.E_SmarketConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SieuThiSachConnectionString2 (Settings)" DbObjectName="SieuThiSach.dbo.Select_ThongTinDoanhNghiep2" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep2</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
              <Mapping SourceColumn="DienThoai" DataSetColumn="DienThoai" />
              <Mapping SourceColumn="MaSoThue" DataSetColumn="MaSoThue" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserTableAdapter" GeneratorDataComponentClassName="UserTableAdapter" Name="User" UserDataComponentName="UserTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="E_SmarketConnectionString (Settings)" DbObjectName="[E-Smarket].dbo.Select_UserCreateChungTu" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_UserCreateChungTu</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@ChungTuID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NguoiLapPhieu" DataSetColumn="NguoiLapPhieu" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsHoaDonBanLe" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DsHoaDonBanLe" msprop:Generator_UserDSName="DsHoaDonBanLe">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_TablePropName="ThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn" msprop:Generator_UserColumnName="TenDoanhNghiep" type="xs:string" minOccurs="0" />
              <xs:element name="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn" msprop:Generator_UserColumnName="DiaChi" type="xs:string" minOccurs="0" />
              <xs:element name="DienThoai" msprop:Generator_ColumnVarNameInTable="columnDienThoai" msprop:Generator_ColumnPropNameInRow="DienThoai" msprop:Generator_ColumnPropNameInTable="DienThoaiColumn" msprop:Generator_UserColumnName="DienThoai" type="xs:string" minOccurs="0" />
              <xs:element name="MaSoThue" msprop:Generator_ColumnVarNameInTable="columnMaSoThue" msprop:Generator_ColumnPropNameInRow="MaSoThue" msprop:Generator_ColumnPropNameInTable="MaSoThueColumn" msprop:Generator_UserColumnName="MaSoThue" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Detail_HoaDonBanLe" msprop:Generator_UserTableName="Detail_HoaDonBanLe" msprop:Generator_RowEvArgName="Detail_HoaDonBanLeRowChangeEvent" msprop:Generator_TableVarName="tableDetail_HoaDonBanLe" msprop:Generator_TablePropName="Detail_HoaDonBanLe" msprop:Generator_RowDeletingName="Detail_HoaDonBanLeRowDeleting" msprop:Generator_RowChangingName="Detail_HoaDonBanLeRowChanging" msprop:Generator_RowDeletedName="Detail_HoaDonBanLeRowDeleted" msprop:Generator_TableClassName="Detail_HoaDonBanLeDataTable" msprop:Generator_RowChangedName="Detail_HoaDonBanLeRowChanged" msprop:Generator_RowEvHandlerName="Detail_HoaDonBanLeRowChangeEventHandler" msprop:Generator_RowClassName="Detail_HoaDonBanLeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenHang" msprop:Generator_ColumnVarNameInTable="columnTenHang" msprop:Generator_ColumnPropNameInRow="TenHang" msprop:Generator_ColumnPropNameInTable="TenHangColumn" msprop:Generator_UserColumnName="TenHang" type="xs:string" />
              <xs:element name="DonViTinh" msprop:Generator_ColumnVarNameInTable="columnDonViTinh" msprop:Generator_ColumnPropNameInRow="DonViTinh" msprop:Generator_ColumnPropNameInTable="DonViTinhColumn" msprop:Generator_UserColumnName="DonViTinh" type="xs:string" minOccurs="0" />
              <xs:element name="SoLuong" msprop:Generator_ColumnVarNameInTable="columnSoLuong" msprop:Generator_ColumnPropNameInRow="SoLuong" msprop:Generator_ColumnPropNameInTable="SoLuongColumn" msprop:Generator_UserColumnName="SoLuong" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaBia" msprop:Generator_ColumnVarNameInTable="columnGiaBia" msprop:Generator_ColumnPropNameInRow="GiaBia" msprop:Generator_ColumnPropNameInTable="GiaBiaColumn" msprop:Generator_UserColumnName="GiaBia" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChietKhau" msprop:Generator_ColumnVarNameInTable="columnChietKhau" msprop:Generator_ColumnPropNameInRow="ChietKhau" msprop:Generator_ColumnPropNameInTable="ChietKhauColumn" msprop:Generator_UserColumnName="ChietKhau" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThanhTien" msprop:Generator_ColumnVarNameInTable="columnThanhTien" msprop:Generator_ColumnPropNameInRow="ThanhTien" msprop:Generator_ColumnPropNameInTable="ThanhTienColumn" msprop:Generator_UserColumnName="ThanhTien" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Master_HoaDonBanLe" msprop:Generator_UserTableName="Master_HoaDonBanLe" msprop:Generator_RowEvArgName="Master_HoaDonBanLeRowChangeEvent" msprop:Generator_TableVarName="tableMaster_HoaDonBanLe" msprop:Generator_TablePropName="Master_HoaDonBanLe" msprop:Generator_RowDeletingName="Master_HoaDonBanLeRowDeleting" msprop:Generator_RowChangingName="Master_HoaDonBanLeRowChanging" msprop:Generator_RowDeletedName="Master_HoaDonBanLeRowDeleted" msprop:Generator_TableClassName="Master_HoaDonBanLeDataTable" msprop:Generator_RowChangedName="Master_HoaDonBanLeRowChanged" msprop:Generator_RowEvHandlerName="Master_HoaDonBanLeRowChangeEventHandler" msprop:Generator_RowClassName="Master_HoaDonBanLeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="So" msprop:Generator_ColumnVarNameInTable="columnSo" msprop:Generator_ColumnPropNameInRow="So" msprop:Generator_ColumnPropNameInTable="SoColumn" msprop:Generator_UserColumnName="So" type="xs:string" />
              <xs:element name="Ngay" msprop:Generator_ColumnVarNameInTable="columnNgay" msprop:Generator_ColumnPropNameInRow="Ngay" msprop:Generator_ColumnPropNameInTable="NgayColumn" msprop:Generator_UserColumnName="Ngay" type="xs:dateTime" />
              <xs:element name="TenKhachHang" msprop:Generator_ColumnVarNameInTable="columnTenKhachHang" msprop:Generator_ColumnPropNameInRow="TenKhachHang" msprop:Generator_ColumnPropNameInTable="TenKhachHangColumn" msprop:Generator_UserColumnName="TenKhachHang" type="xs:string" />
              <xs:element name="TenBacSy" msprop:Generator_ColumnVarNameInTable="columnTenBacSy" msprop:Generator_ColumnPropNameInRow="TenBacSy" msprop:Generator_ColumnPropNameInTable="TenBacSyColumn" msprop:Generator_UserColumnName="TenBacSy" type="xs:string" minOccurs="0" />
              <xs:element name="TongSoTien" msprop:Generator_ColumnVarNameInTable="columnTongSoTien" msprop:Generator_ColumnPropNameInRow="TongSoTien" msprop:Generator_ColumnPropNameInTable="TongSoTienColumn" msprop:Generator_UserColumnName="TongSoTien" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoTienBangChu" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSoTienBangChu" msprop:Generator_ColumnPropNameInRow="SoTienBangChu" msprop:Generator_ColumnPropNameInTable="SoTienBangChuColumn" msprop:Generator_UserColumnName="SoTienBangChu" type="xs:string" minOccurs="0" />
              <xs:element name="TongGiaBia" msprop:Generator_ColumnVarNameInTable="columnTongGiaBia" msprop:Generator_ColumnPropNameInRow="TongGiaBia" msprop:Generator_ColumnPropNameInTable="TongGiaBiaColumn" msprop:Generator_UserColumnName="TongGiaBia" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoTienKhachDua" msprop:Generator_ColumnVarNameInTable="columnSoTienKhachDua" msprop:Generator_ColumnPropNameInRow="SoTienKhachDua" msprop:Generator_ColumnPropNameInTable="SoTienKhachDuaColumn" msprop:Generator_UserColumnName="SoTienKhachDua" type="xs:decimal" minOccurs="0" />
              <xs:element name="SoTienConLai" msprop:Generator_ColumnVarNameInTable="columnSoTienConLai" msprop:Generator_ColumnPropNameInRow="SoTienConLai" msprop:Generator_ColumnPropNameInTable="SoTienConLaiColumn" msprop:Generator_UserColumnName="SoTienConLai" type="xs:decimal" minOccurs="0" />
              <xs:element name="TienChietKhau" msprop:Generator_ColumnVarNameInTable="columnTienChietKhau" msprop:Generator_ColumnPropNameInRow="TienChietKhau" msprop:Generator_ColumnPropNameInTable="TienChietKhauColumn" msprop:Generator_UserColumnName="TienChietKhau" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="User" msprop:Generator_TableClassName="UserDataTable" msprop:Generator_RowEvArgName="UserRowChangeEvent" msprop:Generator_TableVarName="tableUser" msprop:Generator_TablePropName="User" msprop:Generator_RowDeletingName="UserRowDeleting" msprop:Generator_UserTableName="User" msprop:Generator_RowChangingName="UserRowChanging" msprop:Generator_RowDeletedName="UserRowDeleted" msprop:Generator_RowChangedName="UserRowChanged" msprop:Generator_RowEvHandlerName="UserRowChangeEventHandler" msprop:Generator_RowClassName="UserRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NguoiLapPhieu" msprop:Generator_ColumnVarNameInTable="columnNguoiLapPhieu" msprop:Generator_ColumnPropNameInRow="NguoiLapPhieu" msprop:Generator_ColumnPropNameInTable="NguoiLapPhieuColumn" msprop:Generator_UserColumnName="NguoiLapPhieu">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>